package digital_cash_system.bank;

import java.io.Serializable;
import java.math.BigInteger;

public class Publishedinfo implements Serializable
{
	/**
	 * 
	 */
	private static final long serialVersionUID = -85935440401289263L;
	
	// primes
	private BigInteger p;
	private BigInteger q;
	// generators
	private BigInteger g;
	private BigInteger g1;
	private BigInteger g2;
	// public key
	private BigInteger h;
	
	public Publishedinfo(BigInteger p, BigInteger q, BigInteger g,
			BigInteger g1, BigInteger g2, BigInteger h)
	{
		super();
		this.p = p;
		this.q = q;
		this.g = g;
		this.g1 = g1;
		this.g2 = g2;
		this.h = h;
	}

	public BigInteger getP()
	{
		return p;
	}

	public BigInteger getQ()
	{
		return q;
	}

	public BigInteger getG()
	{
		return g;
	}

	public BigInteger getG1()
	{
		return g1;
	}

	public BigInteger getG2()
	{
		return g2;
	}

	public BigInteger getH()
	{
		return h;
	}
}
